

import 'dart:ui';

typedef void OnContentChanged(ReaderOperateEnum currentContentOperate);
class NovelReaderViewModel {
  OnContentChanged contentChangedCallback;
  Paint bgPaint;
  isCanGoNext(){

  }

  isCanGoPre(){

  }

  getMenuOpenState(){

  }

  nextPage(){

  }

  prePage(){

  }

  getNextPage(){

  }

  getPrePage(){

  }

  getCurrentPage(){

  }

  void registerContentOperateCallback(OnContentChanged contentChangedCallback) {
    this.contentChangedCallback = contentChangedCallback;
  }


}enum ReaderOperateEnum {
  OPERATE_NEXT_PAGE,
  OPERATE_PRE_PAGE,
  OPERATE_PRE_CHAPTER,
  OPERATE_NEXT_CHAPTER,
  OPERATE_JUMP_PAGE,
  OPERATE_JUMP_CHAPTER,
}